<?php
session_start() ;
{$_SESSION[ "service_dir" ]  = str_replace("\\","/",getcwd()) ;} ;
require_once( $_SESSION[ "service_dir" ]  .'/../' . "ByteBuffer.php"  )  ;
require_once( $_SESSION[ "service_dir" ]  .'/../' . "DataUtil.php"  )  ;
require_once( $_SESSION[ "service_dir" ]  .'/../' . "Session.php"  )  ;
require_once( $_SESSION[ "service_dir" ]  .'/../' . "Result.php"  )  ;
require_once( $_SESSION[ "service_dir" ]  .'/../' . "UtilHash.php"  )  ;
require_once( $_SESSION[ "service_dir" ]  .'/../' . "UtilKey.php"  )  ;
require_once( $_SESSION[ "service_dir" ]  .'/../' . "phpmailer/class.phpmailer.php"  )  ;
require_once( $_SESSION[ "service_dir" ]  .'/../' . "phpmailer/class.smtp.php"  )  ;
require_once( $_SESSION[ "service_dir" ]  .'/../' . "PWM/StrUtility.php"  )  ;
require_once( $_SESSION[ "service_dir" ]  .'/../' . "DataApp.php"  )  ;
require_once( $_SESSION[ "service_dir" ]  .'/../' . "DataAppManager.php"  )  ;
require_once( $_SESSION[ "service_dir" ]  .'/../' . "DataArea.php"  )  ;
require_once( $_SESSION[ "service_dir" ]  .'/../' . "DataAreasManager.php"  )  ;
require_once( $_SESSION[ "service_dir" ]  .'/../' . "DataGroup.php"  )  ;
require_once( $_SESSION[ "service_dir" ]  .'/../' . "DataGroupUsers.php"  )  ;
require_once( $_SESSION[ "service_dir" ]  .'/../' . "DataGroupsManager.php"  )  ;
require_once( $_SESSION[ "service_dir" ]  .'/../' . "DataUserGroups.php"  )  ;
require_once( $_SESSION[ "service_dir" ]  .'/../' . "DataUserCertificates.php"  )  ;
require_once( $_SESSION[ "service_dir" ]  .'/../' . "DataUserRegister.php"  )  ;
require_once( $_SESSION[ "service_dir" ]  .'/../' . "DataWaitingConfirm.php"  )  ;
require_once( $_SESSION[ "service_dir" ]  .'/../' . "FunctionApp.php"  )  ;
require_once( $_SESSION[ "service_dir" ]  .'/../' . "FunctionArea.php"  )  ;
require_once( $_SESSION[ "service_dir" ]  .'/../' . "FunctionData.php"  )  ;
require_once( $_SESSION[ "service_dir" ]  .'/../' . "FunctionGroup.php"  )  ;
require_once( $_SESSION[ "service_dir" ]  .'/../' . "FunctionSession.php"  )  ;
require_once( $_SESSION[ "service_dir" ]  .'/../' . "FunctionTransaction.php"  )  ;
$size = 4  + 20* 2 ;
$buf = ByteBuffer::allocate( $size ) ;
DataUtil::writeInt32( $buf , 20 ) ;
for($i = 0; $i< 20; $i ++){
	DataUtil::writeInt16( $buf , $i ) ;
}
echo implode(array_map("chr",   $buf ->_array()  )) ;
?>